import axios from "axios";
const baseURL='/api';
export default function ajax(url:string,data={},method='POST'){

    return axios({
        baseURL,
        url,
        data,
        method
    })

}

